from random import random, randint

# for i in range(1,10+1,2): #0-9
#     print(i,end=",")
#
# #打印100以内能被3整除的数字
# for i in range(1,100+1):
#     if i%3==0:
#         print(i,end=",")

#猜数字
#产生随机数
# num = randint(1,100)
# while True:
#     guess = int(input("Guess a number between 1 and 100: "))
#     if guess==num:
#         print("Correct!")
#         break
#     if guess<num:
#         print("Too low!")
#     if guess>num:
#         print("Too high!")


#7
# for i in range(1,100+1):
#     if i%7==0 or str(i).find("7")!=-1:
#         print(i,end=' ')

#打印菱形
for i in range(1,11+1,2):
    print(("*"*i).center(11))
for i in range(9,0,-2):
    print(("*"*i).center(11))
